package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员对象 tb_member
 * 
 * @author ruoyi
 * @date 2024-04-23
 */
public class TbMember extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private Long id;

    /** 会员昵称 */
    @Excel(name = "会员昵称")
    private String nickname;

    /** 会员账号 */
    @Excel(name = "会员账号")
    private String account;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 邮箱号 */
    @Excel(name = "邮箱号")
    private String email;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 收货地址 */
    @Excel(name = "收货地址")
    private String address;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactsPhone;


    private String newPwd;

    public void setNewPwd(String newPwd)
    {
        this.newPwd = newPwd;
    }

    public String getNewPwd()
    {
        return newPwd;
    }


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setContactsPhone(String contactsPhone) 
    {
        this.contactsPhone = contactsPhone;
    }

    public String getContactsPhone() 
    {
        return contactsPhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nickname", getNickname())
            .append("account", getAccount())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("sex", getSex())
            .append("password", getPassword())
            .append("address", getAddress())
            .append("contacts", getContacts())
            .append("contactsPhone", getContactsPhone())
            .toString();
    }
}
